/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.hotel.test.model;

import com.liferay.portal.model.ModelWrapper;

/**
 * <p>
 * This class is a wrapper for {@link Booking}.
 * </p>
 *
 * @author    Vien-IT
 * @see       Booking
 * @generated
 */
public class BookingWrapper implements Booking, ModelWrapper<Booking> {
	public BookingWrapper(Booking booking) {
		_booking = booking;
	}

	public Class<?> getModelClass() {
		return Booking.class;
	}

	public String getModelClassName() {
		return Booking.class.getName();
	}

	/**
	* Returns the primary key of this booking.
	*
	* @return the primary key of this booking
	*/
	public long getPrimaryKey() {
		return _booking.getPrimaryKey();
	}

	/**
	* Sets the primary key of this booking.
	*
	* @param primaryKey the primary key of this booking
	*/
	public void setPrimaryKey(long primaryKey) {
		_booking.setPrimaryKey(primaryKey);
	}

	/**
	* Returns the book ID of this booking.
	*
	* @return the book ID of this booking
	*/
	public long getBookId() {
		return _booking.getBookId();
	}

	/**
	* Sets the book ID of this booking.
	*
	* @param bookId the book ID of this booking
	*/
	public void setBookId(long bookId) {
		_booking.setBookId(bookId);
	}

	/**
	* Returns the user ID of this booking.
	*
	* @return the user ID of this booking
	*/
	public long getUserId() {
		return _booking.getUserId();
	}

	/**
	* Sets the user ID of this booking.
	*
	* @param userId the user ID of this booking
	*/
	public void setUserId(long userId) {
		_booking.setUserId(userId);
	}

	/**
	* Returns the user uuid of this booking.
	*
	* @return the user uuid of this booking
	* @throws SystemException if a system exception occurred
	*/
	public java.lang.String getUserUuid()
		throws com.liferay.portal.kernel.exception.SystemException {
		return _booking.getUserUuid();
	}

	/**
	* Sets the user uuid of this booking.
	*
	* @param userUuid the user uuid of this booking
	*/
	public void setUserUuid(java.lang.String userUuid) {
		_booking.setUserUuid(userUuid);
	}

	/**
	* Returns the user name of this booking.
	*
	* @return the user name of this booking
	*/
	public java.lang.String getUserName() {
		return _booking.getUserName();
	}

	/**
	* Sets the user name of this booking.
	*
	* @param userName the user name of this booking
	*/
	public void setUserName(java.lang.String userName) {
		_booking.setUserName(userName);
	}

	/**
	* Returns the create date of this booking.
	*
	* @return the create date of this booking
	*/
	public java.util.Date getCreateDate() {
		return _booking.getCreateDate();
	}

	/**
	* Sets the create date of this booking.
	*
	* @param createDate the create date of this booking
	*/
	public void setCreateDate(java.util.Date createDate) {
		_booking.setCreateDate(createDate);
	}

	/**
	* Returns the modified date of this booking.
	*
	* @return the modified date of this booking
	*/
	public java.util.Date getModifiedDate() {
		return _booking.getModifiedDate();
	}

	/**
	* Sets the modified date of this booking.
	*
	* @param modifiedDate the modified date of this booking
	*/
	public void setModifiedDate(java.util.Date modifiedDate) {
		_booking.setModifiedDate(modifiedDate);
	}

	/**
	* Returns the name person booking of this booking.
	*
	* @return the name person booking of this booking
	*/
	public java.lang.String getNamePersonBooking() {
		return _booking.getNamePersonBooking();
	}

	/**
	* Sets the name person booking of this booking.
	*
	* @param namePersonBooking the name person booking of this booking
	*/
	public void setNamePersonBooking(java.lang.String namePersonBooking) {
		_booking.setNamePersonBooking(namePersonBooking);
	}

	/**
	* Returns the number phone of this booking.
	*
	* @return the number phone of this booking
	*/
	public java.lang.String getNumberPhone() {
		return _booking.getNumberPhone();
	}

	/**
	* Sets the number phone of this booking.
	*
	* @param numberPhone the number phone of this booking
	*/
	public void setNumberPhone(java.lang.String numberPhone) {
		_booking.setNumberPhone(numberPhone);
	}

	/**
	* Returns the email booking of this booking.
	*
	* @return the email booking of this booking
	*/
	public java.lang.String getEmailBooking() {
		return _booking.getEmailBooking();
	}

	/**
	* Sets the email booking of this booking.
	*
	* @param emailBooking the email booking of this booking
	*/
	public void setEmailBooking(java.lang.String emailBooking) {
		_booking.setEmailBooking(emailBooking);
	}

	/**
	* Returns the address of this booking.
	*
	* @return the address of this booking
	*/
	public java.lang.String getAddress() {
		return _booking.getAddress();
	}

	/**
	* Sets the address of this booking.
	*
	* @param address the address of this booking
	*/
	public void setAddress(java.lang.String address) {
		_booking.setAddress(address);
	}

	/**
	* Returns the number of guest of this booking.
	*
	* @return the number of guest of this booking
	*/
	public int getNumberOfGuest() {
		return _booking.getNumberOfGuest();
	}

	/**
	* Sets the number of guest of this booking.
	*
	* @param numberOfGuest the number of guest of this booking
	*/
	public void setNumberOfGuest(int numberOfGuest) {
		_booking.setNumberOfGuest(numberOfGuest);
	}

	/**
	* Returns the other request of this booking.
	*
	* @return the other request of this booking
	*/
	public java.lang.String getOtherRequest() {
		return _booking.getOtherRequest();
	}

	/**
	* Sets the other request of this booking.
	*
	* @param otherRequest the other request of this booking
	*/
	public void setOtherRequest(java.lang.String otherRequest) {
		_booking.setOtherRequest(otherRequest);
	}

	/**
	* Returns the day start of this booking.
	*
	* @return the day start of this booking
	*/
	public java.lang.String getDayStart() {
		return _booking.getDayStart();
	}

	/**
	* Sets the day start of this booking.
	*
	* @param dayStart the day start of this booking
	*/
	public void setDayStart(java.lang.String dayStart) {
		_booking.setDayStart(dayStart);
	}

	/**
	* Returns the day finish of this booking.
	*
	* @return the day finish of this booking
	*/
	public java.lang.String getDayFinish() {
		return _booking.getDayFinish();
	}

	/**
	* Sets the day finish of this booking.
	*
	* @param dayFinish the day finish of this booking
	*/
	public void setDayFinish(java.lang.String dayFinish) {
		_booking.setDayFinish(dayFinish);
	}

	/**
	* Returns the hotel ID of this booking.
	*
	* @return the hotel ID of this booking
	*/
	public long getHotelId() {
		return _booking.getHotelId();
	}

	/**
	* Sets the hotel ID of this booking.
	*
	* @param hotelId the hotel ID of this booking
	*/
	public void setHotelId(long hotelId) {
		_booking.setHotelId(hotelId);
	}

	/**
	* Returns the rom ID of this booking.
	*
	* @return the rom ID of this booking
	*/
	public long getRomId() {
		return _booking.getRomId();
	}

	/**
	* Sets the rom ID of this booking.
	*
	* @param romId the rom ID of this booking
	*/
	public void setRomId(long romId) {
		_booking.setRomId(romId);
	}

	public boolean isNew() {
		return _booking.isNew();
	}

	public void setNew(boolean n) {
		_booking.setNew(n);
	}

	public boolean isCachedModel() {
		return _booking.isCachedModel();
	}

	public void setCachedModel(boolean cachedModel) {
		_booking.setCachedModel(cachedModel);
	}

	public boolean isEscapedModel() {
		return _booking.isEscapedModel();
	}

	public java.io.Serializable getPrimaryKeyObj() {
		return _booking.getPrimaryKeyObj();
	}

	public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
		_booking.setPrimaryKeyObj(primaryKeyObj);
	}

	public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
		return _booking.getExpandoBridge();
	}

	public void setExpandoBridgeAttributes(
		com.liferay.portal.service.ServiceContext serviceContext) {
		_booking.setExpandoBridgeAttributes(serviceContext);
	}

	@Override
	public java.lang.Object clone() {
		return new BookingWrapper((Booking)_booking.clone());
	}

	public int compareTo(com.hotel.test.model.Booking booking) {
		return _booking.compareTo(booking);
	}

	@Override
	public int hashCode() {
		return _booking.hashCode();
	}

	public com.liferay.portal.model.CacheModel<com.hotel.test.model.Booking> toCacheModel() {
		return _booking.toCacheModel();
	}

	public com.hotel.test.model.Booking toEscapedModel() {
		return new BookingWrapper(_booking.toEscapedModel());
	}

	@Override
	public java.lang.String toString() {
		return _booking.toString();
	}

	public java.lang.String toXmlString() {
		return _booking.toXmlString();
	}

	public void persist()
		throws com.liferay.portal.kernel.exception.SystemException {
		_booking.persist();
	}

	/**
	 * @deprecated Renamed to {@link #getWrappedModel}
	 */
	public Booking getWrappedBooking() {
		return _booking;
	}

	public Booking getWrappedModel() {
		return _booking;
	}

	public void resetOriginalValues() {
		_booking.resetOriginalValues();
	}

	private Booking _booking;
}